<style>
    [title=更新api方法] {
        border-color: #16baaa !important;
    }

    .sys-icon-api {
        color: #16baaa;
    }
</style>
<table id="auth-treetable"></table>

<script type="text/html" id="auth-treetable-toolbar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm" lay-event="expend">
            <i class="sys-icon-expand sys-icon"></i>
            &nbsp;展开
        </button>

        <button class="layui-btn layui-btn-sm layui-btn-primary layui-border-green" lay-event="fold">
            <i class="sys-icon-fold sys-icon"></i>
            &nbsp;折叠
        </button>
    </div>
</script>

<script type="text/html" id="auth-treetable-tools">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-primary layui-border-green layui-btn-xs" lay-event="ad" perm="add-auth">
            添加
        </button>
        <button class="layui-btn layui-btn-primary layui-border-blue layui-btn-xs" lay-event="md" perm="modify-auth">
            编辑
        </button>
        <button class="layui-btn layui-btn-primary layui-border-red layui-btn-xs" lay-event="rm" perm="remove-auth">
            删除
        </button>
    </div>
</script>